//
//  PYCHZWithMultiPYs.h
//  PinyinContacts
//
//  Created by Xiaoping Zhang on 2/20/10.
//  Copyright 2010 Filters, Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class PYCHzpy;

@interface PYCHZWithMultiPYs : NSObject 
{
	NSMutableArray *pinyinArray;
	NSString *hanzi;
	NSUInteger primaryPYIndex;
}

- (id)initWithHanzi:(NSString *)baseHanzi;

- (NSString *)hanzi;
- (void)setHanzi:(NSString *)newHanzi;
- (void)addPinyin:(PYCHzpy *)hzpy;
- (void)normalize;

- (void)deleteFromContext:(NSManagedObjectContext *)dbContext;

- (NSArray *)pinyinList;

@property NSUInteger primaryPYIndex;

@end
